/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package main;

/**
 *
 * @author ZSQ
 */
/**
 * 损失函数接口
 * 由架构师实现
 */

public interface LossFunction {
    double calculate(double[] predicted, double[] actual);
    double[] derivative(double[] predicted, double[] actual);
}
